<%-- 
    Document   : ManagerRestaurant
    Created on : Dec 3, 2013, 1:36:44 PM
    Author     : Dell
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<html lang="en">
    <head>
        <title>Catering.com</title>
        <meta charset="utf-8">
        <%@include file="head.jsp" %>
    </head>
    <body id="page1">
        <!--==============================header=================================-->
        <header>
            <%@include file="menuTop.jsp" %>

        </header>
        <!--==============================content================================-->
        <section id="content">
            <div class="main">

                <div class="wrapper">
                    <article class="column-1" style="border: 1px solid #bbb;border-radius: 3px;background: #fbba35;">
                        <div class="indent-left">
                            <div class="maxheight indent-bot">
                                <%@include file="menuAdminCaterer.jsp" %>
                            </div>

                    </article>
                    <article class="column-2">
                        
                        <s:action name="getAllRestaurants" executeResult="true"></s:action>
                        
                        <a class="button-1" href="addRestaurant.jsp">Add New Restaurant</a>
                        <s:iterator var="p" value="#session.AllRestaurants">
                            <div class="restaurant-item" data-budget="0" data-open="0">
                                <div class="restaurant-info clearfix">
                                    <div class="thumb" href="">

                                        <div class="big" style="background:url('images/customer/<s:property value="imageUrl"></s:property>') no-repeat center;">

                                        </div>

                                    </div>
                                    <div class="right-info">
                                        <table style="width: 100%;">
                                            <tr>
                                                <td><b><s:property value="name"></s:property></b></td>

                                            </tr>
                                            <tr>
                                                <td>Address : <b><s:property value="address"></s:property></b></td>

                                            </tr>
                                            <tr>
                                                <td>Dish : <b><s:property value="dish"></s:property></b></td>

                                            </tr>
                                            <tr>
                                                <td>Time : <b><s:property value="openTime"></s:property> to <s:property value="closeTime"></s:property></b></td>

                                            </tr>
                                            <tr>
                                                <td>Number Of Plates : ><b><s:property value="numberOfPlates"></s:property></b></td>

                                            </tr>
                                            <tr>
                                                <td>Experience : <b><s:property value="experience"></s:property> Year</b></td>

                                            </tr>

                                        </table>
                                        <a class="button-1" href="#" style="float: right; margin-right: 20px;">View Menu</a>
                                        <a class="button-1" href="#" style="float: right; margin-right: 20px;">View And Edit Information</a> 
                                    </div>
                                </div>
                            </div>
                        </s:iterator>

                    </article>
                </div>
            </div>
        </section>
        <!--==============================footer=================================-->
        <%@include file="footer.jsp" %>

    </body>
</html> 